package online.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @Auther: 狼芒
 * @Date: 2021/9/3 23:27
 * @Descrintion:
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@ResponseStatus(value = HttpStatus.FORBIDDEN, reason = "自定义RRException")
public class RRException extends RuntimeException {

    public RRException(String message) {
        super(message);
    }
}
